package com.waiting.es.dao;

import com.waiting.es.entity.EsPosition;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;


public interface EsPositionRepository extends ElasticsearchRepository<EsPosition, Long> {

    List<EsPosition> findByPositionnameOrPositionadvantage(String positionName, String positionAdvantage);

}
